<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>融资机构账户详情</title>
<jsp:include page="../../import.jsp" flush="true" />
</head>
<body>
        <form id="friBaseInfo_detail_form">
            <div class="fieldset1 tabel_col tabel_col_s clearFix ">
			<div class="caption">
				<span class="title">融资机构</span>
			</div>
			<div class="fieldBox col_33">
				<div class="label">融资机构名称：</div>
				<div class="field">
					<span name="fundRasInsNm" id="fundRasInsNm" >${friBaseInfo.fundRasInsNm}</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">机构缩写：</div>
				<div class="field">
					<span name="insAbb" id="insAbb" >${friBaseInfo.insAbb}</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">融资机构类型：</div>
				<div class="field">
					<span name="insTypeCdNm" id="insTypeCdNm" >${friBaseInfo.insTypeCdNm}</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">是否为ABS：</div>
				<div class="field">
					<span name="isAbs" id="isAbs" >${friBaseInfo.isAbs}</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">机构用途：</div>
				<div class="field">
					<span name="insUseCdNm" id="insUseCdNm" >${friBaseInfo.insUseCdNm}</span>
				</div>
			</div>
			<div class="fieldBox col_100" id="fileModify">
				<div class="label">资料</div>
				<div class="field">
					<jsp:include page="../../system/sysUlFilesRec/sysUlFileRecListDetail.jsp" flush="true">
						<jsp:param name="pkId" value="${friBaseInfo.id }" />
						<jsp:param name="tabNm" value="CST_BSC_INFO" />
					</jsp:include>
				</div>
			</div>
			<div class="fieldBox col_100">
				<div class="label">备注：</div>
				<div class="field">
					<span name="rem" id="rem" >${friBaseInfo.fundRasInsNm}</span>
				</div>
			</div>
			<!-- hide data -->
			<div class="fieldBox col_100" style="display:none;">
				<div class="field">
					<input name="dataId" id="dataId" type="text" class="ui-textbox" value="${id}">
				</div>
			</div>
		</div>
		 <div class="fieldset1 tabel_col tabel_col_1 clearFix">
			<div class="caption">
				<span class="title">账户信息</span>
			</div>
			<div class="fieldBox col_33">
				<div class="label">帐户用途：</div>
				<div class="field">
					<input type="text"   name="accTypCdNm" id="accTypCdNm" readonly  class="ui-textbox" validate="{required:true}">
			        <input type="hidden" name="accTypCd" class="accTypCd"  id="accTypCd" data-ligerid="accTypCdNm" value="${bankAccInfo.accTypCd}">
					<span class="requiredSymbol">*</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">帐户类型：</div>
				<div class="field">
					<select name="pubVerPriCd" style="width:150px;" data-value=" ">
						<c:forEach items="${pubVerPriCdList }" var="kv">
							 <c:choose>
	                       		<c:when test="${kv.key == bankAccInfo.pubVerPriCd}">
	                        		<option value="${kv.key }" selected="selected">${kv.value }</option>
	                       		</c:when>
	                       		<c:otherwise>
									<option value="${kv.key }">${kv.value }</option>
	                       		</c:otherwise>
		                     </c:choose>
						</c:forEach>
					</select>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">开户行号：</div>
				<div class="field">
					${bankAccInfo.banAccNum}
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">开户行：</div>
				<div class="field">
					${bankAccInfo.banAccNm}
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">户名：</div>
				<div class="field">
					${bankAccInfo.accNm}
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">帐号：</div>
				<div class="field">
					${bankAccInfo.accNum}
				</div>
			</div>
			<div class="fieldBox col_100">
				<div class="label">帐号备注：</div>
				<div class="field">
					${bankAccInfo.rem}
				</div>
			</div>
			<!-- 融资机构账户信息  -->
			<!-- hide data -->
			<div class="fieldBox col_100" style="display:none;">
				<div class="field">
					<input name="dataId" id="dataId" type="text" class="ui-textbox" value="${bankAccInfo.id}"><!-- 账户id -->
				</div>
			</div>
		</div>
        </form>
	<script>
		$(function() {
			//账户用途
			$("#accTypCdNm").ligerComboBox({ isShowCheckBox: true, isMultiSelect: true,
	     	   	 data: [ { name: 'key', width: 100}, 
	     	   	         { name: 'value', width: 120}
	     	   	 ],
		          url:'<%=path%>/rfbase/fribaseinfo/getAccTypCd.do',
		          ajaxType :'GET',
		          slide: false,
		          valueField: 'key', textField: 'value',
		          valueFieldID: 'accTypCd'
		     });
		   $("#friBaseInfo_detail_form").ligerForm({
                validate: true
           });
		});
		
	</script>
</body>
</html>